package org.jeecg.modules.room.entity;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.jeecg.common.aspect.annotation.Dict;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.UnsupportedEncodingException;

/**
 * @Description: 预订单明细信息
 * @Author: jeecg-boot
 * @Date:   2023-12-12
 * @Version: V1.0
 */
@ApiModel(value="room_book_info_mx对象", description="预订单明细信息")
@Data
@TableName("room_book_info_mx")
public class RoomBookInfoMx implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**预订单号*/
    @ApiModelProperty(value = "预订单号")
    private String bookCode;
	/**房间类型*/
	@Excel(name = "房间类型", width = 15)
    @ApiModelProperty(value = "房间类型")
    @Dict(dictTable = "room_type", dicText = "room_type_name", dicCode = "room_type_code")
    private String roomTypeCode;
	/**入住模式*/
	@Excel(name = "入住模式", width = 15)
    @ApiModelProperty(value = "入住模式")
    @Dict(dicCode = "room_flag")
    private String checkInMode;
    /**预定房间数*/
    @Excel(name = "预定房间数", width = 15)
    @ApiModelProperty(value = "预定房间数")
    private Integer bookRoomNum;
	/**是否加床*/
	@Excel(name = "是否加床", width = 15)
    @ApiModelProperty(value = "是否加床")
    private String isExtraBed;
	/**额定房价*/
	@Excel(name = "额定房价", width = 15)
    @ApiModelProperty(value = "额定房价")
    private Double ratedHousePrice;
	/**折扣*/
	@Excel(name = "折扣", width = 15)
    @ApiModelProperty(value = "折扣")
    private Double discount;
	/**加床费*/
	@Excel(name = "加床费", width = 15)
    @ApiModelProperty(value = "加床费")
    private Double extraBedAmount;
	/**房价*/
	@Excel(name = "房价", width = 15)
    @ApiModelProperty(value = "房价")
    private Double roomPrice;
	/**早餐份数*/
	@Excel(name = "早餐份数", width = 15)
    @ApiModelProperty(value = "早餐份数")
    private Integer breakfastNum;

    private transient String roomCode;
}
